home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9996 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: user2.mnsinc.com!huang
  2. From: huang@mnsinc.com (Szu-Wen Huang)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: CONVERTING INTEGER TO ASCII??????
  5. Date: 14 Mar 1996 22:25:37 GMT
  6. Organization: Monumental Network Systems
  7. Message-ID: <4ia6d1$c5r@news1.mnsinc.com>
  8. References: <4i17r9$2kn@maltese.eag.unisysgsg.com> <4i1cvg$1cg@solutions.solon.com> <4ia3lb$i46@newshost.cyberramp.net>
  9. NNTP-Posting-Host: user2.mnsinc.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. John Noland (sinan@cyberramp.net) wrote:
  13.  
  14. : Is this one them there 'torical questions?!?
  15.  
  16. : Haven't you ever overlooked the obvious, Peter? As a young(er) programmer, I
  17. : remember that I used to write these crazy conversion routines for everything.
  18. : One day, another programmer was looking at my code and he said, "Why don't
  19. : you just use sprintf here?". I was floored. That hadn't even crossed
  20. : my mind. sprintf. What a cool function. I was so busy being clever, I 
  21. : overlooked the obvious. This was many years ago, but I still remember it and
  22. : I still tend towards trying to be clever rather than obvious. Hmm, there's a
  23. : lesson in there for me, somewhere. I just can't quite put my finger on it...
  24.  
  25. Could the lesson be:  Learn thy library routines?  ;)
  26.